package com.oceansoft.core.jxkh.dao;

import com.oceansoft.core.common.util.Pagination;
import com.oceansoft.core.jxkh.domain.Khy;

import java.util.HashMap;
import java.util.List;

/**
 * Created by OS on 2017/12/11.
 */
public interface IKhyDao {
    Pagination findAllKhy(HashMap<String, String> map);
    List<Khy> findAllKhy() throws Exception;
    void editKhyInfo(Khy khy);
    Khy findKhyInfoByDbid(int dbid);
    void deleteKhyInfoByDbid(int dbid);
    void addKhyInfo(Khy khy);
    void batchDeleteKhyInfo(int[] dbids);
    List findAllKhyName();
}
